home *** CD-ROM | disk | FTP | other *** search
- on DoDelay delay
- set startTime to the ticks
- set gDelayTime to delay * 60
- repeat while the ticks < (startTime + gDelayTime)
- end repeat
- end
-
- on ExpandWindow
- set wind to getAt(the windowList, 1)
- set leftSide to getAt(the rect of wind, 1)
- set topSide to getAt(the rect of wind, 2)
- set rightSide to getAt(the rect of wind, 3)
- set bottomSide to getAt(the rect of wind, 4)
- set the rect of wind to rect(leftSide, topSide, leftSide + 160, bottomSide)
- end
-
- on HandleButtons
- set the ink of sprite 12 to 0
- set the ink of sprite 13 to 0
- set the ink of sprite 14 to 0
- set the ink of sprite 15 to 0
- set the ink of sprite 16 to 0
- set the ink of sprite 17 to 0
- if the colorDepth = 8 then
- set the ink of sprite 15 to 34
- else
- if the colorDepth = 16 then
- set the ink of sprite 16 to 34
- else
- if the colorDepth = 32 then
- set the ink of sprite 17 to 34
- else
- if the colorDepth = 2 then
- set the ink of sprite 14 to 4
- else
- if the colorDepth = 1 then
- set the ink of sprite 13 to 4
- end if
- end if
- end if
- end if
- end if
- updateStage()
- end
-